package com.ynet.middleground.riskmanage.bean;

import javax.validation.constraints.NotEmpty;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liwq
 * @description 用户查询服务申请
 * @date 2022-05-08 16:15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "用户查询服务申请请求信息", description = "用户查询服务申请请求信息")
public class ColdchainCustomerApplyReq extends BaseReqObj {

    private static final long serialVersionUID = 929701033081630469L;

    @ApiModelProperty(value = "申请ID", notes = "申请ID")
    private String applyId;

    @ApiModelProperty(value = "货主账号", notes = "货主账号", required = true)
    @NotEmpty(message = "货主账号不能为空")
    private String customerNumber;

    @ApiModelProperty(value = "货主名称", notes = "货主名称", required = true)
    @NotEmpty(message = "货主名称不能为空")
    private String customerName;

    @ApiModelProperty(value = "税号", notes = "税号", required = true)
    @NotEmpty(message = "税号不能为空")
    private String taxNumber;

    @ApiModelProperty(value = "营业执照，文件OSS地址（完整路径）", notes = "营业执照，文件OSS地址（完整路径）", required = true)
    @NotEmpty(message = "营业执照不能为空")
    private String fileUrl;

    @ApiModelProperty(value = "备注，一个税号有多个货主账号时，填写此栏，英文逗号隔开。", notes = "备注，一个税号有多个货主账号时，填写此栏，英文逗号隔开。")
    private String remark;

}
